package org.opens.attr.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 功能描述
 *
 * @author by zhangyuming
 * @date 2022/10/25
 */
@Component
public class AttrConstant {

    public static String name;

    @Value("${attr.name}")
    public void setName(String name) {
        AttrConstant.name = name;
    }
}
